#include <qimage.h>
#include <iostream>
#ifndef FILTER_H
#define FILTER_H
using namespace std;
struct image{
    int *R;
    int *G;
    int *B;
};

class Filter
{
public:
    ~Filter();
    QImage convolve(QImage*);
    struct image convolve_img(QImage*);
    virtual QImage normalize(int*,int*,int*);
    QImage normalize(QImage*);
 protected:
  double *kernel;
  int k_rows,k_cols;
  QImage *in_image,*out_image;
  struct image img;
};

#endif // FILTER_H
